/**
 * 
 */
package com.hjx.service.system;

import java.util.List;

import com.hjx.model.Role;
import com.hjx.model.User;
import com.hjx.service.IGenericService;

/**
 * @author huangjixin
 * 
 */
public interface IUserService extends IGenericService<User, Integer> {
	List<Role> getByUserId(Integer userId);
	
	int connectRole(Integer userId, Integer roleId) throws Exception;
	
	int disConnectRole(Integer userId, Integer roleId) throws Exception;
}
